package com.duobaoyu.dby.supply.common.biz.remote.dto.refund;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @className: AfterSaleFreightMoneyDTO
 * @description: 售后运费单修改
 * @author: lyy
 * @createDate: 2022-08-01 17:26
 * @Version: 1.0
 */
@Data
public class AfterSaleFreightMoneyDTO implements Serializable {

	private static final long serialVersionUID = -1182537186892108906L;
	/**
	 * 供应链平台售后申请编号
	 */
	@NotBlank(message = "供应链平台售后申请编号不能为空")
	private String afterSaleApplySn;

	/**
	 * 运费退款金额
	 */
	@NotNull(message = "运费退款金额不能为空")
	@Min(value = 0, message = "运费退款金额有误")
	@ApiModelProperty(value = "运费退款金额")
	private BigDecimal refundFreight;
}
